-
-
Notifications
You must be signed in to change notification settings - Fork 436
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ruff f821 fix in byte.py #681
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Updates the requirements on [pymdown-extensions](https://github.com/facelessuser/pymdown-extensions) to permit the latest version. - [Release notes](https://github.com/facelessuser/pymdown-extensions/releases) - [Commits](facelessuser/pymdown-extensions@10.9...10.10.1) --- updated-dependencies: - dependency-name: pymdown-extensions dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]>
--- updated-dependencies: - dependency-name: ruff dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]>
…-0.5.1-and-lt-0.6.8 Update ruff requirement from >=0.5.1,<0.6.4 to >=0.5.1,<0.6.8
…extensions-approx-eq-10.10 Update pymdown-extensions requirement from ~=10.9 to ~=10.10
Updates the requirements on [pymdown-extensions](https://github.com/facelessuser/pymdown-extensions) to permit the latest version. - [Release notes](https://github.com/facelessuser/pymdown-extensions/releases) - [Commits](facelessuser/pymdown-extensions@10.10...10.11.1) --- updated-dependencies: - dependency-name: pymdown-extensions dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps [autofix-ci/action](https://github.com/autofix-ci/action) from dd55f44df8f7cdb7a6bf74c78677eb8acd40cd0a to ff86a557419858bb967097bfc916833f5647fa8c. - [Release notes](https://github.com/autofix-ci/action/releases) - [Commits](autofix-ci/action@dd55f44...ff86a55) --- updated-dependencies: - dependency-name: autofix-ci/action dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]>
--- updated-dependencies: - dependency-name: ruff dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]>
…ns/autofix-ci/action-ff86a557419858bb967097bfc916833f5647fa8c Bump autofix-ci/action from dd55f44df8f7cdb7a6bf74c78677eb8acd40cd0a to ff86a557419858bb967097bfc916833f5647fa8c
…-0.5.1-and-lt-0.8.2 Update ruff requirement from >=0.5.1,<0.7.4 to >=0.5.1,<0.8.2
…eadme_fix Krishna/jsonutilreadme fix
Bump pypdf from 4.3.1 to 5.1.0
…sistant base openai_assistant
This requires adding an import, python-magic. I don't know what byte.py is for, or whether you want this fix.
Sandra-Amina-Boss
approved these changes
Jan 5, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
ruff had an F821 error in byte.py complaining about magic, which wasn't imported.
As this file is manipulating byte files of different varieties, if you want to do that, this patch should enable that.
The fix is to import python-magic, and magic in byte.py.
Another approach would be to remove mention of the magic file check in byte.py at line 577, 684
📚 Documentation preview 📚: https://swarms--681.org.readthedocs.build/en/681/